package com.dragon.logical.service.auth;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.repository.entity.Department;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-06-12
 */
public interface DepartmentService extends IService<Department> {
    Page<Department> getDepPage(Integer page, Integer limit);

    List<Department> selectDepartmentList(String search);

    void addDepartment(Department department);

    void updateDepartment(Department department);

    void deleteDepartment(Integer id);

    void deleteDepartmentList(List<Integer> ids);
}
